home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / demo / client / scripts / DemoEditorAlert.cs < prev    next >
Encoding:
Text File  |  2005-11-23  |  755 b   |  18 lines

  1. //-----------------------------------------------------------------------------
  2. // Torque Engine
  3. // 
  4. // Copyright (C) GarageGames.com, Inc.
  5. //-----------------------------------------------------------------------------
  6.  
  7. function DemoEditorAlert::onWake(%this)
  8. {
  9.  
  10.    
  11.    %text = "Welcome to the mission editor!\n\n";
  12.    %text = %text @ "You can move objects by clicking on them and dragging with the mouse.\n\n";
  13.    %text = %text @ "Right click and drag anywhere on the scene to change your view angle.\n\n";
  14.    %text = %text @ "Use the w,s,a,d keys to fly around!\n\n";
  15.    %text = %text @ "Hit F11 again to return to the demo.\n\n Have fun!";
  16.    EditorAlertText.setText(%text);
  17.    DemoEditorAlert.helpTag = DemoEditorAlert.helpTag + 1;
  18. }